package com.xiaoshuaila.workbench.service;

import com.xiaoshuaila.tool.SqlSessionUtil;
import com.xiaoshuaila.workbench.dao.CustomerDao;

import java.util.List;

public class CustomerserviceImpl implements Customerservice {
    private CustomerDao customerDao=
            SqlSessionUtil.getSqlSession().getMapper(CustomerDao.class);

    @Override
    public List<String> getcustomername(String name) {
        customerDao.getcustomername(name);
        return customerDao.getcustomername(name);
    }
}
